net: hns3: change default tc state to close
authorJian Shen <shenjian15@huawei.com>
Thu, 20 Dec 2018 03:51:59 +0000 (11:51 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 18 Jul 2019 22:23:17 +0000 (23:23 +0100)
commit7ea96c6c5a960923c0c1df4f1862074bbdecf208
tree421a6eb560e50d091a1a0bb236e643cc5416c1e1
parent80ec6f67d67a407c97627e9fede7fa7716ca10ea
net: hns3: change default tc state to close

In original codes, default tc value is set to the max tc. It's more
reasonable to close tc by changing default tc value to 1. Users can
enable it with lldp tool when they want to use tc.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic bugfix/arm64/huawei-taishan
Gbp-Pq: Name 0023-net-hns3-change-default-tc-state-to-close.patch
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c